Skip to content

Fix/unable to build docker image on windows errors#383

Open
AreebAhmad-02 wants to merge 2 commits intoaws:v2.9.2from
AreebAhmad-02:fix/unable-to-build-image-on-windows
Open

Fix/unable to build docker image on windows errors#383
AreebAhmad-02 wants to merge 2 commits intoaws:v2.9.2from
AreebAhmad-02:fix/unable-to-build-image-on-windows

Conversation

@AreebAhmad-02
Copy link
Copy Markdown

Issue #, if available:
#275 #279
Description of changes:

If we are using Windows, we may need to run the following commands to adjust line endings in the script files before building the docker image. Windows often modifies line endings in .sh files, which can cause issues. I faced this issue every time I tried to run MWAA on my local machine with docker and wsl2 installed. The commands below will convert the line endings to Unix format:

sed -i -e 's/\r$//' docker/script/bootstrap.sh
sed -i -e 's/\r$//' docker/script/systemlibs.sh
sed -i -e 's/\r$//' docker/script/generate_key.sh

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant